package org.docmanagement.commons;

import java.util.Comparator;

import org.docmanagement.forms.KeywordForm;

public class KeywordComparator implements Comparator<KeywordForm> {

	public KeywordComparator() {
		super();
	}

	public int compare(KeywordForm k1, KeywordForm k2) {
		String name1 = k1.getName();
		String name2 = k2.getName();
		return name1.compareTo(name2);
	}
}
